package main

import (
	"log"

	"github.com/opencloudos/onyx/internal/prefetch"
)

func main() {
	cfg := prefetch.Config{
		DaemonURL: "http://127.0.0.1:8090",
		StorePath: "/var/lib/onyx/prefetch/history.json",
	}

	engine := prefetch.NewEngine(cfg)
	log.Println("[onyx-prefetcher] starting...")
	engine.Run()
}
